#ifndef PJAPIBUDDYMANAGER_H
#define PJAPIBUDDYMANAGER_H

#include <string>

class PjApiBuddyManager
{
public:

    enum BuddyStatus {
        Unknown,
        Online,
        Offline
    };

    PjApiBuddyManager();

    ~PjApiBuddyManager();

    // return the buddy id
    int addBuddy(std::string uri, bool subscribe, std::string desc="");

    void deleteBuddy(std::string uri);

    bool isValidBuddyID(int id);

    void updateBuddyPresence(std::string uri);

    int getBuddyNumber();

    std::string getBuddyUriByID(int buddy_id);

    int getBuddyIDByUri(std::string uri);

    std::string getDescriptionByUri(std::string uri);

    std::string getBuddyStatusTextByUri(std::string uri);

    std::string getBuddyStatusTextByID(int buddy_id);

    enum BuddyStatus getBuddyStatusByUri(std::string uri);

    enum BuddyStatus getBuddyStatusByID(int buddy_id);

private:


};

#endif //PJAPIBUDDYMANAGER_H